<?
include('inc_security.php');

$record_id  = getValue('record_id');

$db_check = new db_query('SELECT gmap_id FROM google_maps WHERE gmap_id = ' . $record_id . ' AND lang_id = ' . $lang_id);
if ($check = mysql_fetch_assoc($db_check->result))
{
	// Xoa data
	$db_delete = new db_execute('DELETE FROM google_maps WHERE gmap_id = ' . $record_id . ' AND lang_id = ' . $lang_id);
	unset($db_delete);
}
unset($db_check);
redirect('bando.php');
?>